package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.pojo.Car;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.Cartype;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【car】的数据库操作Service
* @createDate 2024-04-06 13:08:28
*/
public interface CarService extends IService<Car> {

    Integer add(Car edocEntry);

    Page<Car> list(Integer categoryId, String name, Integer startIndex, Integer pageSize);

    Long count(Integer categoryId);

    List<Cartype> carType();

    int toUpdate(Car edocEntry);

    int delete(Integer id);
}
